﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Rose.Models.ArticleAbstractModel>>" %>


<asp:Content ID="Content1" ContentPlaceHolderID="LeftContent" runat="server">
<%Html.RenderAction("SelfPart","Home"); %>
 

<%Html.RenderAction("SearchBarPart", "Search"); %>
 <%Html.RenderAction("RecommendPart", "Home", new { currentpage =1, type = "university", isOppGender = false, isDescending = true });%>
 <%Html.RenderAction("HotPart", "Home"); %>
 <%Html.RenderAction("BirthPart", "Home"); %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MiddleContent" runat="server">

  

<div id="newarticle">
<button class="pointer" onclick="window.location.href='/Article/AddArticle';"></button></div>
<div class="thickline">
</div>

<div id="articlelist">
<%foreach (var item in Model)
  { %>
<%Html.RenderAction("SingleArticlePart", "Article",item); %>
  
  <%} %>



</div>


</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">

<%Html.RenderAction("ArticleScriptPart", "Article"); %>
<%Html.RenderAction("HomeScriptPart", "Home"); %>
</asp:Content>

